﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GeneralDFS.CommandLineTools
{
    public class ParseCommand
    {
        public String Command;
        public String[] Args;

        public ParseCommand(){}

        public ParseCommand(String readline)
        {
            String[] temp = readline.Split(' ');
            if (temp.Length > 0)
                Command = temp[0].ToLower();
            if (temp.Length > 1)
            {
                Args=new string[temp.Length-1];
                Array.Copy(temp, 1, Args, 0, temp.Length - 1);
            }
        }
    }
}
